package cn.liccshop.sys.entity;

/**
 * @program: LiCCShop
 * @description: 异常信息模板
 * @author: LiCC
 * @data 2019-03-15-22:56
 */
public class ErrorResponse {
    private int code;
    private String message;

    public ErrorResponse() {
    }

    public ErrorResponse(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public ErrorResponse setCode(int code) {
        this.code = code;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public ErrorResponse setMessage(String message) {
        this.message = message;
        return this;
    }
}
